package com.mindai.esper.monitor.persistence.auto.model;

import java.io.Serializable;

public class EsperDb implements Serializable {
    private Integer id;

    private Integer dbCode;

    private String dbName;

    private String username;

    private String dbPassword;

    private String dbType;

    private String dbUrl;

    private String connectionLifecycle;

    private Integer initialSize;

    private String cacheReferenceType;

    private String dbDescribe;

    private String sourceFactory;

    private Integer maxAgeSeconds;

    private Integer purgeIntervalSeconds;

    private String dbProps;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getDbCode() {
        return dbCode;
    }

    public void setDbCode(Integer dbCode) {
        this.dbCode = dbCode;
    }

    public String getDbName() {
        return dbName;
    }

    public void setDbName(String dbName) {
        this.dbName = dbName == null ? null : dbName.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getDbPassword() {
        return dbPassword;
    }

    public void setDbPassword(String dbPassword) {
        this.dbPassword = dbPassword == null ? null : dbPassword.trim();
    }

    public String getDbType() {
        return dbType;
    }

    public void setDbType(String dbType) {
        this.dbType = dbType == null ? null : dbType.trim();
    }

    public String getDbUrl() {
        return dbUrl;
    }

    public void setDbUrl(String dbUrl) {
        this.dbUrl = dbUrl == null ? null : dbUrl.trim();
    }

    public String getConnectionLifecycle() {
        return connectionLifecycle;
    }

    public void setConnectionLifecycle(String connectionLifecycle) {
        this.connectionLifecycle = connectionLifecycle == null ? null : connectionLifecycle.trim();
    }

    public Integer getInitialSize() {
        return initialSize;
    }

    public void setInitialSize(Integer initialSize) {
        this.initialSize = initialSize;
    }

    public String getCacheReferenceType() {
        return cacheReferenceType;
    }

    public void setCacheReferenceType(String cacheReferenceType) {
        this.cacheReferenceType = cacheReferenceType == null ? null : cacheReferenceType.trim();
    }

    public String getDbDescribe() {
        return dbDescribe;
    }

    public void setDbDescribe(String dbDescribe) {
        this.dbDescribe = dbDescribe == null ? null : dbDescribe.trim();
    }

    public String getSourceFactory() {
        return sourceFactory;
    }

    public void setSourceFactory(String sourceFactory) {
        this.sourceFactory = sourceFactory == null ? null : sourceFactory.trim();
    }

    public Integer getMaxAgeSeconds() {
        return maxAgeSeconds;
    }

    public void setMaxAgeSeconds(Integer maxAgeSeconds) {
        this.maxAgeSeconds = maxAgeSeconds;
    }

    public Integer getPurgeIntervalSeconds() {
        return purgeIntervalSeconds;
    }

    public void setPurgeIntervalSeconds(Integer purgeIntervalSeconds) {
        this.purgeIntervalSeconds = purgeIntervalSeconds;
    }

    public String getDbProps() {
        return dbProps;
    }

    public void setDbProps(String dbProps) {
        this.dbProps = dbProps == null ? null : dbProps.trim();
    }
}